package com.twl.app.base.entity;

import java.io.Serializable;
import java.math.BigDecimal; 

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.twl.common.entity.Customer;
/**
 * 个人所得税
 * @author uatzhangxc
 *
 */
@SuppressWarnings("serial")
@Entity
@org.hibernate.annotations.Entity(dynamicInsert = true, dynamicUpdate = true)
@Table(name = "Personalduty")
@SequenceGenerator(name = "instance_sequence", sequenceName = "seq_Personalduty_id", allocationSize = 1)
public class Personalduty extends Customer implements Serializable {

	
	private String dutysendmoney;//税前应发工资
	private BigDecimal dutyrate;//税率
	private String subtratdou;//减去项
	private String amountdou;  //个人所得税
	private String datemoney; //日期
	private Integer judgeint;//是否是大陆0表示是1表示不是
	private String desKey;// 密钥
	@Column(name = "Des_Key" )
	public String getDesKey() {
		return desKey;
	}

	public void setDesKey(String desKey) {
		this.desKey = desKey;
	}
	public Personalduty() {
		super();
		 
	}
	 
	public Personalduty(String dutysendmoney, BigDecimal dutyrate,
			String subtratdou, String amountdou, String datemoney,
			Integer judgeint) {
		super();
		this.dutysendmoney = dutysendmoney;
		this.dutyrate = dutyrate;
		this.subtratdou = subtratdou;
		this.amountdou = amountdou;
		this.datemoney = datemoney;
		this.judgeint = judgeint;
	}

	@Column(name="dutysendmoney")
	public String getDutysendmoney() {
		return dutysendmoney;
	}
	public void setDutysendmoney(String dutysendmoney) {
		this.dutysendmoney = dutysendmoney;
	}
	@Column(name="dutyrate")
	public BigDecimal getDutyrate() {
		return dutyrate;
	}
	public void setDutyrate(BigDecimal dutyrate) {
		this.dutyrate = dutyrate;
	}
	@Column(name="subtratdou")
	public String getSubtratdou() {
		return subtratdou;
	}
	public void setSubtratdou(String subtratdou) {
		this.subtratdou = subtratdou;
	}
	@Column(name="amountdou")
	public String getAmountdou() {
		return amountdou;
	}
	public void setAmountdou(String amountdou) {
		this.amountdou = amountdou;
	}
	@Column(name="datemoney")
	public String getDatemoney() {
		return datemoney;
	}
	public void setDatemoney(String datemoney) {
		this.datemoney = datemoney;
	}
	@Column(name="judgeint")
	public Integer getJudgeint() {
		return judgeint;
	}
	public void setJudgeint(Integer judgeint) {
		this.judgeint = judgeint;
	}
	
	
}
